package com.artifact.mit.mypoint.service.model.api;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PointHistory implements Serializable {

	private static final long serialVersionUID = -6649585301593376217L;
	
	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "userPointBookDetail")
	private UserPointBookDetail[] userPointBookDetail;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class UserPointBookDetail {
		
		public UserPointBookDetail() {}
		
		@JsonProperty(value = "TrxCredit")
		private String trxCredit;
		
		@JsonProperty(value = "TrxDebit")
		private String trxDebit;
		
		@JsonProperty(value = "TrxDate")
		private String trxDate;
		
		@JsonProperty(value = "TrxDesc")
		private String trxDesc;
		
		@JsonProperty(value = "TrxNo")
		private String trxNo;

		public String getTrxCredit() {
			return trxCredit;
		}

		public void setTrxCredit(String trxCredit) {
			this.trxCredit = trxCredit;
		}

		public String getTrxDebit() {
			return trxDebit;
		}

		public void setTrxDebit(String trxDebit) {
			this.trxDebit = trxDebit;
		}

		public String getTrxDate() {
			return trxDate;
		}

		public void setTrxDate(String trxDate) {
			this.trxDate = trxDate;
		}

		public String getTrxDesc() {
			return trxDesc;
		}

		public void setTrxDesc(String trxDesc) {
			this.trxDesc = trxDesc;
		}

		public String getTrxNo() {
			return trxNo;
		}

		public void setTrxNo(String trxNo) {
			this.trxNo = trxNo;
		}
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public UserPointBookDetail[] getUserPointBookDetail() {
		return userPointBookDetail;
	}

	public void setUserPointBookDetail(UserPointBookDetail[] userPointBookDetail) {
		this.userPointBookDetail = userPointBookDetail;
	}
}
